* Dano et al. (2024)
* Master dofile for data preparation (step 1)

**Core directory - TO BE CHANGED BY USER
global dir "C:/Users/80002088/Dropbox/Incumbency_Advantage_France/replication"

********************************************************************************
* Set path to working directories:
********************************************************************************

global raw_data "$dir/data/raw"
global intermediate "$dir/data/intermediate"
global output "$dir/data/output"
global temp "$dir/data/temp"
global programs "$dir/programs/dofiles"

********************************************************************************
* Install ados / packages:
********************************************************************************

ssc install reclink

********************************************************************************
* Cleaning and merging datasets
********************************************************************************

** Preparing electoral data **
do "$programs/prep_elections.do"

** Preparing manifesto data **
do "$programs/prep_manifestos.do"